export type SearchParams = {
  pageNum?: number
  pageSize?: number
  username?: string
  beginTime?: string
  endTime?: string
}

export type OperationItem = {
  id: number
  admin_id: number
  username: string
  method: string
  ip: string
  url: string
  create_time: string
}

export type ListResult = {
  pageNum: number
  pageSize: number
  rows: OperationItem[]
  total: number
}

export type IdParams = {
  id: number
}

export type BatchIdParams = {
  ids: number[]
}
